/*********************************************************************************
 *      Copyright:  (C) 2023 iot<iot@email.com>
 *                  All rights reserved.
 *
 *       Filename:  sql_serve.c
 *    Description:  This file is the use of the interface to the SQliite3
 *                 
 *        Version:  1.0.0(03/21/23)
 *         Author:  iot <iot@email.com>
 *      ChangeLog:  1, Release initial version on "03/21/23 02:06:58"
 *                 
 ********************************************************************************/
#ifndef _SQL_CLIENT_H_
#define _SQL_CLIENT_H_

#include "sqlite3.h"
#include "data_process.h"


#define TABLE_NAME "clit_temp"

int creat_db(char *db_name);
int callback(void *NotUsed,int argc,char **argv,char **azColName);
int insert_db(sample_data_t sample_data);
int select_db(sample_data_t *sample_data);
int close_db(void);
int delete_db(void);


#endif
